AddQueryParamMappingRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > AddQueryParamMappingRecord

## AddQueryParamMappingRecord

The AddQueryParamMappingRecord function will add a Query Parameter mapping record to the database.

###### Syntax

TRecordResponse * AddQueryParamMappingRecord( TQueryParamMapping * AQueryParamMapping, BSTR ASessionID ) ;

###### Parameters

AQueryParamMapping

[IN] This is a TQueryParamMappings class which defines what parameters are being mapped. The fields of interest are:

- PNameEndUserCompanyName : This property maps to CPEUCONM

- PNameEndUserName : This property maps to CPEUNAME

- PNameEndUserReferrer : This property maps to CPEUREF

- PNameEndUserIP : This property maps to CPEUIP

- PNameEndUserAddress1 : This property maps to CPEUA1

- PNameEndUserAddress2 : This property maps to CPEUA2

- PNameEndUserAddress3 : This property maps to CPEUA3

- PNameEndUserPhone : This property maps to CPEUPH

- PNameEndUserEmail : This property maps to CPEUEM

- PNameEndUserPassword : This property maps to CPEUPW

- PNameGenSerialNo : This is a special parameter that allows you to compress multiple other URL Encoded parameters in this list into a single parameter value

- PNameOrderNo : This property maps to CPONO

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

Only CheckPoint administrators are allowed to use this function.

It is also recommended to read the section called "Map CheckPoint HTTP GET Query Parameters" to understand how Query parameters work.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- This will return true if the function was successful, otherwise returns false

- PrimaryKeyValue- This is will contain the QueryParamMapping ID that is assignedr.

- ErrorMessage- If an error occurred, this field will contain the associated message to the error.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"